Optimal. Leaf size=25 \[ \frac{\sqrt{a \sec ^2(x)}}{a}+\frac{1}{\sqrt{a \sec ^2(x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0922876, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 3, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.176, Rules used = {3657, 4124, 43} \[ \frac{\sqrt{a \sec ^2(x)}}{a}+\frac{1}{\sqrt{a \sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3657
Rule 4124
Rule 43
Rubi steps
\begin{align*} \int \frac{\tan ^3(x)}{\sqrt{a+a \tan ^2(x)}} \, dx &=\int \frac{\tan ^3(x)}{\sqrt{a \sec ^2(x)}} \, dx\\ &=\frac{1}{2} a \operatorname{Subst}\left (\int \frac{-1+x}{(a x)^{3/2}} \, dx,x,\sec ^2(x)\right )\\ &=\frac{1}{2} a \operatorname{Subst}\left (\int \left (-\frac{1}{(a x)^{3/2}}+\frac{1}{a \sqrt{a x}}\right ) \, dx,x,\sec ^2(x)\right )\\ &=\frac{1}{\sqrt{a \sec ^2(x)}}+\frac{\sqrt{a \sec ^2(x)}}{a}\\ \end{align*}
Mathematica [A] time = 0.0238331, size = 17, normalized size = 0.68 \[ \frac{\sec ^2(x)+1}{\sqrt{a \sec ^2(x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.03, size = 26, normalized size = 1. \begin{align*}{\frac{1}{a}\sqrt{a+a \left ( \tan \left ( x \right ) \right ) ^{2}}}+{\frac{1}{\sqrt{a+a \left ( \tan \left ( x \right ) \right ) ^{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.13729, size = 50, normalized size = 2. \begin{align*} \frac{{\left (\sin \left (x\right )^{2} - 2\right )} \sqrt{\sin \left (x\right ) + 1} \sqrt{-\sin \left (x\right ) + 1}}{\sqrt{a} \sin \left (x\right )^{2} - \sqrt{a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.33972, size = 50, normalized size = 2. \begin{align*} \frac{\tan \left (x\right )^{2} + 2}{\sqrt{a \tan \left (x\right )^{2} + a}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\tan ^{3}{\left (x \right )}}{\sqrt{a \left (\tan ^{2}{\left (x \right )} + 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.10193, size = 36, normalized size = 1.44 \begin{align*} \frac{\sqrt{a \tan \left (x\right )^{2} + a} + \frac{a}{\sqrt{a \tan \left (x\right )^{2} + a}}}{a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]